/*
* @Date: 2020/6/10
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  props: [{
    key: 'mode',
    type: 'select',
    options: ['dark', 'light'],
    label: '模式'
  }, {
    key: 'icon',
    type: 'icon',
    label: '最左侧图标'
  }, {
    key: 'leftContent',
    type: 'dom',
    label: '左侧内容',
    value: <div className="sortable view-item-box sub"></div>
  }, {
    key: 'rightContent',
    type: 'dom',
    label: '右侧内容',
    value: <div className="sortable view-item-box sub"></div>
  }, {
    key: 'onLeftClick',
    type: 'function',
    label: '左侧回调'
  }],
  /**
   * children渲染函数
   * @param param 参数
   */
  childRender: (param, page) => {
    return (
      <div className="sortable view-item-box sub">

      </div>
    )
  },
}
